package com.hoshiicloud.saleorder.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 新增支付订单参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-03
*/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="新增支付订单", description="新增支付订单")
public class PayorderAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流水ID  来源 paylist")
    private Long payListId;

    @ApiModelProperty(value = "买家ID")
    private Long userId;

    @ApiModelProperty(value = "支付订单号")
    private String payOrderNo;

    @ApiModelProperty(value = "1-消费 2-退款")
    private Integer type;

    @ApiModelProperty(value = "支付日期时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "状态 1-t已成交 0-未成交")
    private Integer status;


}
